js.underas.controller.TextArea = new Class({
	"Extends":js.underas.controller.Controller
	,"initialize":function(p_text){
		var ptext = p_text||"";
		this.parent('div','<label class="control-label" for="inputIcon_'+this.uid+'">'+ptext+'</label>'+
                          '<div class="col-xs-12 input-group">'+
                            '<textarea class="form-control inputtt cposi_1 cposis" id="inputIcon_'+this.uid+'">'+ptext+'</textarea>'+
                          '</div>'); 
		this.getEle().addClass("form-group col-xs-12 col-sm-12");	
	}	
	,"getValue":function(){
		var palavra = this.getInput().get("value")+"";
		palavra = palavra.replace(/,|\./gm," ");
		return palavra.replace(/(\r\n|\n|\r)/gm," ").trim();
	}
});
